#include<stdio.h>
#define PI 3.1415926
int main()
{
	double d;
	double C,S,M;
	scanf("%lf",&d);
	M=d/2;
	C=PI*d;
	S=PI*M*M;
	printf("%.2f\n",C);
	printf("%.2f\n",S);
	return 0;
}
